﻿using Models.Managemen;
using ModelToDto.Managemen;

namespace IService.Managemen
{
    public interface IUserService : IBaseService
    {
        /// <summary>
        /// 返回用户拥有的角色
        /// </summary>
        ///param name="roleId"></param>
        /// <returns></returns>
        public Task<UserRoleDTO> GetUserRole(int userId);
        public Task<int> AssignRolesAdd(int userId, List<string> roleList);
        public Mp_Users LoginUser(LoginUserDTO loginUserDTO);
    }
}